home *** CD-ROM | disk | FTP | other *** search
/ PC World 2000 October / PCWorld_2000-10_cd1.bin / Software / Vyzkuste / tiptrik / tiptrik.exe / soubory pro pcw 10 - Windows rychl  jako nikdy / 4DOS / JP4DOS.INF < prev    next >
Windows Setup INFormation  |  1999-04-16  |  4KB  |  97 lines

  1. ; JP4DOS.INF
  2. ; 24-Mar-99
  3. ; ------------------------------------------------------------------------
  4. ;
  5. ; Customizes a few Windows 95/98 functions to best take advantage of
  6. ; features provided by JP Software's 4DOS command processor:
  7. ;
  8. ; 1.  Creates a new "4DOS Prompt here" entry in the context menu of drives
  9. ;     and directories.  Selecting that option will launch 4DOS in that
  10. ;     drive or directory.
  11. ;
  12. ; 2.  Provides an additional "open" option in the context menu of all
  13. ;     batch files (.BAT and .BTM) to run the file with 4DOS.
  14. ;
  15. ; 3.  Extends Windows' definition of a "batch file" to include *.BTM
  16. ;     files.   If you want the ability to double-click on a *.BTM to
  17. ;     execute it, you have several options, including:
  18. ;
  19. ;     a. Make "Open with 4DOS" the default action for file type
  20. ;     "batfile".
  21. ;
  22. ;     b. Change the default action (typically set to "%1") to invoke 4DOS.
  23. ;
  24. ;     For either option, if you prefer not to deal directly with the
  25. ;     Registry Editor (REGEDIT), it's best if your system is configured
  26. ;     so that you can edit the Properties of file type "batfile" by
  27. ;     opening an Explorer Window ("My Computer", for example) and selecting
  28. ;     "View", "Options", then "File Types".  If you don't see an entry for
  29. ;     "MS-DOS Batch Files" or the edit options are unavailable, and you
  30. ;     prefer not dealing with the Registry directly, see file
  31. ;     "jpbatch.reg" on our Web site (in the "Directory of ASCII Files").
  32. ;
  33. ; 4.  Includes itself among the features that can be "uninstalled" via the
  34. ;     Windows Control Panel.
  35. ;
  36. ; ------------------------------------------------------------------------
  37. ;
  38. ; Normally this file is installed automatically during the 4DOS
  39. ; installation process.
  40. ;
  41. ; TO INSTALL MANUALLY:  Make sure this file is in the same directory as
  42. ; 4DOS.COM, right-click on the file name from a Windows Explorer window,
  43. ; and select the "Install" option on the popup menu.
  44. ;
  45. ; TO REMOVE:  Use the Control Panel's "Install/Remove Programs" menu.
  46. ;
  47. ; ------------------------------------------------------------------------
  48. ;
  49. [Strings]
  50. REMOVE_DESC = "JP Software 4DOS Registry Extensions (remove only)"
  51. PRODUCT = "4DOS"
  52. LONG_NAME = "4DOS Prompt"
  53. RUN_STRING = "4DOS.COM"
  54. DESC_STRING = "&4DOS"
  55.  
  56. [CopyFiles.Inf]
  57. JP4DOS.INF
  58.  
  59. [SourceDisksFiles]
  60. JP4DOS.INF = 55
  61.  
  62. [SourceDisksNames]
  63. 55 = "","",1
  64.  
  65. [version]
  66. Signature = "$CHICAGO$"
  67. Provider = "JP Software, Inc."
  68.  
  69. [DefaultInstall]
  70. AddReg = Registry.Add
  71. CopyFiles = CopyFiles.Inf
  72.  
  73. [DefaultUninstall]
  74. DelReg = Registry.Add
  75. DelFiles = CopyFiles.Inf
  76.  
  77. [DefaultInstall.ntx86]
  78.  
  79. [DefaultUninstall.ntx86]
  80.  
  81. [DestinationDirs]
  82. CopyFiles.Inf = 17
  83.  
  84. [Registry.Add]
  85. HKLM,Software\Classes\.btm,,,"batfile"
  86. HKCR,Drive\Shell\%PRODUCT%,,,"&%LONG_NAME% here"
  87. HKCR,Drive\Shell\%PRODUCT%\command,,,"%01%\%RUN_STRING% /k *cdd %1"
  88. HKCR,Directory\Shell\%PRODUCT%,,,"&%LONG_NAME% here"
  89. HKCR,Directory\Shell\%PRODUCT%\command,,,"%01%\%RUN_STRING% /k *cdd %1"
  90. HKLM,Software\Classes\batfile\shell\%PRODUCT%,,,"Open with %DESC_STRING%"
  91. HKLM,Software\Classes\batfile\shell\%PRODUCT%\command,,,"%01%\%RUN_STRING% /c ""%%1"" %*"
  92. HKLM,Software\Microsoft\Windows\CurrentVersion\Uninstall\JP%PRODUCT%
  93. HKLM,Software\Microsoft\Windows\CurrentVersion\Uninstall\JP%PRODUCT%,DisplayName,,"%REMOVE_DESC%"
  94. HKLM,Software\Microsoft\Windows\CurrentVersion\Uninstall\JP%PRODUCT%,UninstallString,,"%10%\RunDll.exe setupx.dll,InstallHinfSection DefaultUninstall 4 %17%\JP%PRODUCT%.INF"
  95.  
  96. [eof]
  97.